package com.akxy.pt.tsdb.influxdb.operator;

/**
 * @author Mengfly
 */
public class BucketOperator implements Operator {

    private final String bucket;

    public BucketOperator(String bucket) {
        this.bucket = bucket;
    }

    @Override
    public String operatorString() {
        return String.format("from(bucket: \"%s\")", bucket);
    }

    @Override
    public int order() {
        return -1;
    }


}
